//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_playersnumber.sqf"
#include "x_setup.sqf"

if (!isMultiPlayer) exitWith { 1 };
// returns the number of human players currently playing a mission in MP
private "_ret";
_ret = playersNumber opfor + playersNumber blufor + playersNumber independent + playersNumber civilian;
// TYRGHEN - The HC client is not counted in the players anymore...
// if (GVAR(IS_HC_CLIENT) && {_ret > 0}) then {
	// __DEC(_ret);
// };
_ret